package com.eco.fanliapp.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 提现记录表 app_withdrawal
 *
 * @author xiaoxx
 * @date 2019-05-14
 */
@Getter
@Setter
@Data
@TableName("app_withdrawal")//@TableName中的值对应着表名
public class AppWithdrawalExportVo implements Serializable
{
    /** 主键id，自增 */
    @TableId(type = IdType.AUTO)
    @Excel(name = "关联Id",orderNum = "5")
    @NotNull(message = "关联Id不能为空")
    private Long id;

    /** 提现金额 */
    @NotNull(message = "转账金额不能为空")
    @Excel(name = "转账金额",orderNum = "3")
    private Double amount;
    /** 转账备注 */
    @Excel(name = "转账备注",orderNum = "4")
    private String remark;

    /**
     * 用户真实姓名
     */
    //@NotNull(message = "真实姓名不能为空")
    @Excel(name = "真实姓名",orderNum = "1")
    @TableField("alipay_real_name")
    private String userRealName;

    /**
     * 支付宝账号
     */
    @Excel(name = "支付宝账号",orderNum = "2")
    @TableField("alipay_account")
    private String alipayAccount;


}
